package com.gzf.feign;

import com.gzf.dto.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "seasta-animal")
public interface AnimalFeignClient {

    @PostMapping("/user/insert")
    public void insert(@RequestBody User user);
}
